package org.lcb.demo.shiyan3.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import pojo.Category;

import java.util.List;

@Mapper
public interface CategoryMapper {

    //查询所有的分类:
    @Select("select * from category")
    List<Category> selectCategoryList();

}
